var app_env = sessionStorage.getItem('app_env');

/**
 * 封装请求方法
 *  url  接口请求地址
 *  data 接口请求参数（无需请求方式参数，则此项可以为空，否则必须传）
 *  para 请求方式参数（可以为空）
 *  callback 回调函数
 */
function $_request(url, data, callback, para) {
  $.ajax({
    url: url,
    type: para && para.type || 'POST',
    dataType: para && para.dataType || 'JSON',
    data: JSON.stringify(data),
    beforeSend: function () {
      if(app_env != 'local'){
        showloading(true);
      }
    },
    success: function (res) {
      callback(res);
      if(app_env != 'local'){
        showloading(false);
      }
    },
    error: function (res) {
      console.log(res);
    },
    headers: {
      "X-CSRF-TOKEN": $('meta[name="csrf-token"]').attr('content'),
    }
  });
}

function $_request2(url, data, callback, para) {
  $.ajax({
    url: url,
    type: para && para.type || 'POST',
    dataType: para && para.dataType || 'JSON',
    data: data,
    beforeSend: function () {
      if(app_env != 'local'){
        showloading(true);
      }
    },
    success: function (res) {
      callback(res);
      if(app_env != 'local'){
        showloading(false);
      }
    },
    error: function (res) {
      console.log(res);
    },
    headers: {
      "X-CSRF-TOKEN": $('meta[name="csrf-token"]').attr('content'),
    }
  });
}

//不显示加载提示
function $_request3(url, data, callback, para) {
  $.ajax({
    url: url,
    type: para && para.type || 'POST',
    dataType: para && para.dataType || 'JSON',
    data: data,
    beforeSend: function () {
    },
    success: function (res) {
      callback(res);
    },
    error: function (res) {
      console.log(res);
    },
    headers: {
      "X-CSRF-TOKEN": $('meta[name="csrf-token"]').attr('content'),
    }
  });
}

/**
 * post 请求
 * @param {请求地址} url
 * @param {请求数据} data
 * @param {回调函数} callback
 */
function $_ajaxPost(url, data, callback){
    $.ajax({
      url: url,
      type:  'POST',
      dataType: 'JSON',
      data: data,
      beforeSend: function () {
        showloading(true);
      },
      success: function (res) {
        callback(res);
        showloading(false);
      },
      error: function (res) {
        console.log(res);
      },
      headers: {
        "X-CSRF-TOKEN": $('meta[name="csrf-token"]').attr('content'),
      }
    });
}

//URL 跳转
function  skipurl(url){
  if(url.indexOf("?") > -1){
      return  url+"&v="+ Math.random();
  }else{
      return  url+"?v="+ Math.random();
  }
}

//table列表鼠标悬浮提示
function tdTitle(){
    $('th').each(function(index,element){
        $(element).attr('title',$(element).text());
    });
    $('td').each(function(index,element){
        $(element).attr('title',$(element).text());
    });
};

//基础接口
function getVolumes(data, callback, params){ return $_request2('/systems/grades/volumes', data, callback, params) }//获取所有级别
function getTerms(data, callback, params){ return $_request('/courses/getterms', data, callback, params) }//校本课程获取所有学期
function getAllTerms(data, callback, params){ return $_request('/systems/classrooms/getallterms', data, callback, params) }//获取所有学期
function getUserList(data, callback, params){ return $_request('/systems/users/list', data, callback, params) }//用户列表
function setUserStatus(data, callback, params){ return $_request('/systems/users/setuserstatus', data, callback, params) }//启用/禁用用户
function getTutors(data, callback, params){ return $_request('/systems/users/gettutors', data, callback, params) }//指导老师列表
function getGroupTree(data, callback, params){ return $_request('/systems/users/getgrouptree', data, callback, params) }//获取组信息树
function getLogList(data, callback, params){ return $_request('/systems/logs/list', data, callback, params) }//日志列表
function getFilesList(data, callback, params) { return $_request2('/systems/files/getFilesList', data, callback, params) }
//角色权限
function getRoleList(data, callback, params){ return $_request('/systems/roles/list', data, callback, params) }//角色列表
function addRole(data, callback, params){ return $_request('/systems/roles/add', data, callback, params) }//角色新增
function editRole(data, callback, params){ return $_request('/systems/roles/edit', data, callback, params) }//角色修改
function delRole(data, callback, params){ return $_request('/systems/roles/delete', data, callback, params) }//角色删除
function getPowerTree(data, callback, params){ return $_request('/systems/roles/powertree', data, callback, params) }//获取权限树
function getRolePowers(data, callback, params){ return $_request('/systems/roles/rolepowers', data, callback, params) }//获取角色权限
function setRolePowers(data, callback, params){ return $_request('/systems/roles/setrolepowers', data, callback, params) }//获取角色权限
function getAllRoles(data, callback, params){ return $_request('/systems/users/getallrole', data, callback, params) }//获取所有角色
function setUserRole(data, callback, params){ return $_request('/systems/users/setuserrole', data, callback, params) }//设置用户角色
function getRoleUsers(data, callback, params){ return $_request2('/systems/roles/getRoleUsers', data, callback, params) }//获取角色人员---kzj=221126
function setUserCurRole(data, callback, params) { return $_request2('systems/users/setUserCurRole', data, callback, params) }//设置用户当前角色---kzj=221201

function getMyClasses(data, callback, params){ return $_request('/systems/users/getmyclasseses', data, callback, params) }//获取年级下所有班级
function delResource(data, callback, params){ return $_request('/courses/delresource', data, callback, params) }//删除资源
function tjCourseNum(data, callback, params){ return $_request('/courses/tjcoursenum', data, callback, params) }//统计课程数量
function addDf(data, callback, params){ return $_request2('/systems/defined/addDf', data, callback, params) }
function getDgList(data, callback, params){ return $_request2('/systems/defined/getDgList', data, callback, params) }
function delDf(data, callback, params){ return $_request2('/systems/defined/delDf', data, callback, params) }
function getDgTwoList(data, callback, params){ return $_request2('/systems/defined/getDgTwoList', data, callback, params) }
function addDfMembers(data, callback, params){ return $_request2('/systems/defined/addDfMembers', data, callback, params) }
function getDfMembers(data, callback, params){ return $_request2('/systems/defined/getDfMembers', data, callback, params) }
function getDgThreeList(data, callback, params){ return $_request2('/systems/defined/getDgThreeList', data, callback, params) }
function delAllDf(data, callback, params){ return $_request2('/systems/defined/delAllDf', data, callback, params) }
function getDfGroupMembers(data, callback, params){ return $_request2('/systems/defined/getDfGroupMembers', data, callback, params) }
function getDfMembersToId(data, callback, params){ return $_request2('/systems/defined/getDfMembersToId', data, callback, params) }


//量表考核
function getScaleList(data, callback, params){ return $_request2('/systems/scales/list', data, callback, params) }//量表列表
function addScale(data, callback, params){ return $_request2('/systems/scales/add', data, callback, params) }//量表新增
function copyScale(data, callback, params){ return $_request2('/systems/scales/copy', data, callback, params) }//量表复制
function addScaleDetail(data, callback, params){ return $_request2('/systems/scales/addDetail', data, callback, params) }//量表考核内容新增
function addRowScaleDetail(data, callback, params){ return $_request2('/systems/scales/addRowDetail', data, callback, params) }//量表考核行内容新增
function getScaleById(data, callback, params) { return $_request2('/systems/scales/getOne', data, callback, params) }//量表单条数据
function editScale(data, callback, params){ return $_request2('/systems/scales/edit', data, callback, params) }//量表修改
function delScale(data, callback, params){ return $_request2('/systems/scales/del', data, callback, params) }//量表删除
function editScaleDetail(data, callback, params){ return $_request2('/systems/scales/editDetail', data, callback, params) }//量表考核内容修改
function delScaleDetail(data, callback, params){ return $_request2('/systems/scales/delDetail', data, callback, params) }//量表考核内容删除
function updateScaleDetail(data, callback, params){ return $_request2('/systems/scales/updateDetail', data, callback, params) }//单个量表考核内容修改
function getScaleSelect(data, callback, params){ return $_request2('/systems/scales/getSelectList', data, callback, params) }//考核量表下拉选择数据

//数据字典
function getDicList(data, callback, params){ return $_request('/systems/dics/getdiclist', data, callback, params) }//字典数据列表
function getDicItemList(data, callback, params){ return $_request('/systems/dics/getdicitemlist', data, callback, params) }//字典数据定义项列表
function addDicItem(data, callback, params){ return $_request('/systems/dics/adddicitem', data, callback, params) }//字典数据新增定义项
function delDicItem(data, callback, params){ return $_request('/systems/dics/deldicitem', data, callback, params) }//字典数据删除定义项
function editDicItem(data, callback, params){ return $_request('/systems/dics/editdicitem', data, callback, params) }//字典数据编辑定义项
function delDic(data, callback, params){ return $_request('/systems/dics/deldic', data, callback, params) }//字典数据删除
function editDic(data, callback, params){ return $_request('/systems/dics/editdic', data, callback, params) }//字典数据编辑
function addDic(data, callback, params){ return $_request('/systems/dics/adddic', data, callback, params) }//字典数据新增
function getDicItemsByName(data, callback, params){ return $_request('/systems/dics/getdicnamebyname', data, callback, params) }//字典数据新增
function getDicListByCode(data, callback, params){ return $_request2('/systems/dics/getDicListByCode', data, callback, params) }//获取字典列表通过code ---------- 公用接口
function getDicListByCodes(data, callback, params){ return $_request2('/systems/dics/getDicListByCodes', data, callback, params) }//获取字典列表通过code(Array) ---------- 公用接口

function getDictionaryItem(data, callback, params){ return $_request2('/systems/dics/getDictionaryItem', data, callback, params) }//老字典表(Array) ---------- 公用接口
function getDictionaryLinkItem(data, callback, params){ return $_request2('/systems/dics/getDictionaryLinkItem', data, callback, params) }//老字典表(Array) ---------- 公用接口
function getOriginSelect(data, callback, params){ return $_request2('/systems/dics/getOriginSelect', data, callback, params) }//老字典表(Array)籍贯数据 ---------- 公用接口
function getDicRelationItem(data, callback, params){ return $_request2('/systems/dics/getDicRelationItem', data, callback, params) }//老字典表(Array)级联数据 ---------- 公用接口
function getDictionaryXmSelect(data, callback, params){ return $_request2('/systems/dics/getDictionaryXmSelect', data, callback, params) } //获取老字典多选下拉数据

//待办事项
function getTaskList(data, callback, params){ return $_request2('/systems/task/getTaskList', data, callback, params) }

//学期相关
function getTermList(data, callback, params) { return $_request2('/systems/getTermList', data, callback, params) }
function setTerm(data, callback, params) { return $_request2('/systems/setTerm', data, callback, params) }
function getTermById(data, callback, params) { return $_request2('/systems/getTermById', data, callback, params) }
function delTerm(data, callback, params) { return $_request2('/systems/delTerm', data, callback, params) }
function getTermData(data, callback, params) { return $_request2('/systems/getTermData', data, callback, params) }

//用户机构相关
function getGroupAllBySchool(data, callback, params) { return $_request2('/systems/getGroupAllBySchool', data, callback, params) }
function getTeacherByGroupId(data, callback, params) { return $_request2('/training/research/getTeacherByGroupId', data, callback, params) }

// 基本信息 information
// 教师档案袋
function addPosition(data, callback, params) { return $_request2('/information/archives/addPosition', data, callback, params) }
function addLearnHistory(data, callback, params) { return $_request2('/information/archives/addLearnHistory', data, callback, params) }
function addWorkHistory(data, callback, params) { return $_request2('/information/archives/addWorkHistory', data, callback, params) }
function addAssessment(data, callback, params) { return $_request2('/information/archives/addAssessment', data, callback, params) }
function editPosition(data, callback, params) { return $_request2('/information/archives/editPosition', data, callback, params) }
function editLearnHistory(data, callback, params) { return $_request2('/information/archives/editLearnHistory', data, callback, params) }
function editWorkHistory(data, callback, params) { return $_request2('/information/archives/editWorkHistory', data, callback, params) }
function editAssessment(data, callback, params) { return $_request2('/information/archives/editAssessment', data, callback, params) }
function delPosition(data, callback, params) { return $_request2('/information/archives/delPosition', data, callback, params) }
function delLearnHistory(data, callback, params) { return $_request2('/information/archives/delLearnHistory', data, callback, params) }
function delWorkHistory(data, callback, params) { return $_request2('/information/archives/delWorkHistory', data, callback, params) }
function delAssessment(data, callback, params) { return $_request2('/information/archives/delAssessment', data, callback, params) }
function getBaseCheckInfo(data, callback, params) { return $_request2('/information/archives/getCheckInfo', data, callback, params) }
function subBasicInfo(data, callback, params) { return $_request2('/information/archives/subBasicInfo', data, callback, params) }
function subCheckBasicInfo(data, callback, params) { return $_request2('/information/archives/subCheckBasicInfo', data, callback, params) }

// 下载
function downloadTeacherInfo(data, callback, params) { return $_request2('/information/downld/downloadTeacherInfo', data, callback, params) } //教师个人作业文件下载

// downld

// 教学研究
// 任教学科
function getDisciplineList(data, callback, params) { return $_request2('/teaching/discipline/getList', data, callback, params) }
function addDiscipline(data, callback, params) { return $_request2('/teaching/discipline/add', data, callback, params) }
function getDisciplineOne(data, callback, params) { return $_request2('/teaching/discipline/one', data, callback, params) }
function editDiscipline(data, callback, params) { return $_request2('/teaching/discipline/edit', data, callback, params) }
function checkDiscipline(data, callback, params) { return $_request2('/teaching/discipline/check', data, callback, params) }
function delDiscipline(data, callback, params) { return $_request2('/teaching/discipline/del', data, callback, params) }
function exportDiscipline(data, callback, params) { return $_request2('/teaching/discipline/export', data, callback, params) }
// 公开教学
function exportOpen(data, callback, params) { return $_request2('/teaching/open/export', data, callback, params) }
function exportOpenZip(data, callback, params) { return $_request2('/teaching/open/exportOpenZip', data, callback, params) }
// 经验交流
function exportExperience(data, callback, params) { return $_request2('/teaching/experience/export', data, callback, params) }
// 课题研究
function getStudyList(data, callback, params) { return $_request2('/teaching/study/getStudyList', data, callback, params) }
function uploadStage(data, callback, params) { return $_request2('/teaching/study/uploadStage', data, callback, params) }
function checkStage(data, callback, params) { return $_request2('/teaching/study/checkStage', data, callback, params) }
function generateStage(data, callback, params) { return $_request2('/teaching/study/generateStage', data, callback, params) }
function exportStudy(data, callback, params) { return $_request2('/teaching/study/export', data, callback, params) }
// 论文发表
function exportPaper(data, callback, params) { return $_request2('/teaching/paper/export', data, callback, params) }
// 论著发表
function exportTreatise(data, callback, params) { return $_request2('/teaching/treatise/export', data, callback, params) }
// 开发科目
function exportSubject(data, callback, params) { return $_request2('/teaching/subject/export', data, callback, params) }
function copySubject(data, callback, params) { return $_request2('/teaching/subject/copySubject', data, callback, params) }
// 教研活动
function getTeaActivityList(data, callback, params) { return $_request2('/teaching/activity/getList', data, callback, params) }
function addTeaActivity(data, callback, params) { return $_request2('/teaching/activity/add', data, callback, params) }
function addTeaActivityHomework(data, callback, params) { return $_request2('/teaching/activity/addHomework', data, callback, params) }
function getTeaActivityOne(data, callback, params) { return $_request2('/teaching/activity/one', data, callback, params) }
function editTeaActivity(data, callback, params) { return $_request2('/teaching/activity/edit', data, callback, params) }
function downloadTeaActivity(data, callback, params) { return $_request2('/teaching/activity/download', data, callback, params) } //活动文件下载
function delTeaActivityHomework(data, callback, params) { return $_request2('/teaching/activity/delHomework', data, callback, params) }
function getActivityHomeworkInfo(data, callback, params) { return $_request2('/teaching/activity/getHomeworkInfo', data, callback, params) }
function saveHomework(data, callback, params) { return $_request2('/teaching/activity/saveHomework', data, callback, params) }
function addComment(data, callback, params) { return $_request2('/teaching/activity/addComment', data, callback, params) }
function getQRCode(data, callback, params) { return $_request2('/teaching/activity/getQRCode', data, callback, params) } //获取二维码
function addActivitySign(data, callback, params) { return $_request2('/addActivitySign', data, callback, params) } //二维码
function getTeaActivityJoins(data, callback, params) { return $_request2('/teaching/activity/getJoinList', data, callback, params) } //活动参与进度数据
function exportJoinProgress(data, callback, params) { return $_request2('/teaching/activity/export', data, callback, params) } //活动参与进度数据导出
function downloadHomework(data, callback, params) { return $_request2('/teaching/activity/downloadHomework', data, callback, params) } //教师个人作业文件下载
function exportTeaActivity(data, callback, params) { return $_request2('/teaching/activity/exportTeaActivity', data, callback, params) }

function generateCertificate(data, callback, params) { return $_request2('/teaching/activity/generateCertificate', data, callback, params) } //生成证明单


// 直播管理
function getLiveList(data, callback, params) { return $_request2('/teaching/live/getList', data, callback, params) }
function addLive(data, callback, params) { return $_request2('/teaching/live/add', data, callback, params) }
function getLiveOne(data, callback, params) { return $_request2('/teaching/live/one', data, callback, params) }
function editLive(data, callback, params) { return $_request2('/teaching/live/edit', data, callback, params) }
function delLive(data, callback, params) { return $_request2('/teaching/live/del', data, callback, params) }

// 教育工作
// 班主任
function getHeadmasterList(data, callback, params) { return $_request2('/education/headmaster/getList', data, callback, params) }
function addHeadmaster(data, callback, params) { return $_request2('/education/headmaster/add', data, callback, params) }
function getHeadmasterOne(data, callback, params) { return $_request2('/education/headmaster/one', data, callback, params) }
function editHeadmaster(data, callback, params) { return $_request2('/education/headmaster/edit', data, callback, params) }
function delHeadmaster(data, callback, params) { return $_request2('/education/headmaster/del', data, callback, params) }
function exportHeadmaster(data, callback, params) { return $_request2('/education/headmaster/export', data, callback, params) }
function checkHeadmaster(data, callback, params) { return $_request2('/education/headmaster/check', data, callback, params) }
// 社会实践
function exportPractice(data, callback, params) { return $_request2('/education/practice/export', data, callback, params) }
// 班队会
// 主题活动
function exportTheme(data, callback, params) { return $_request2('/education/theme/export', data, callback, params) }
function exportPlan(data, callback, params) { return $_request2('/education/plan/export', data, callback, params) }
// 教师培训
// 开发课程
function exportCourses(data, callback, params) { return $_request2('/faculty/courses/export', data, callback, params) }
// 学分培训
function getCreditsList(data, callback, params) { return $_request2('/faculty/credits/getList', data, callback, params) }
function getCreditsOne(data, callback, params) { return $_request2('/faculty/credits/one', data, callback, params) }
function exportCredits(data, callback, params) { return $_request2('/faculty/credits/export', data, callback, params) }
// 参与教研
function exportResearch(data, callback, params) { return $_request2('/faculty/research/export', data, callback, params) }
// 外出培训
function exportOutraining(data, callback, params) { return $_request2('/faculty/outraining/export', data, callback, params) }
// 教师培训其他
function exportOther(data, callback, params) { return $_request2('/faculty/other/export', data, callback, params) }
//平台学pp
function getPlatformCreditList(data, callback, params) { return $_request2('/faculty/platform/getList', data, callback, params) }
function getPlatformUserCreditList(data, callback, params) { return $_request2('/faculty/platform/getUserList', data, callback, params) }
function exportPlatformCredit(data, callback, params) { return $_request2('/faculty/platform/export', data, callback, params) }
//区级教研
function getResearchAreaList(data, callback, params) { return $_request2('/faculty/research/getList', data, callback, params) }

// 活动
function getActivityList(data, callback, params) { return $_request2('/systems/activity/getList', data, callback, params) }
function addActivity(data, callback, params) { return $_request2('/systems/activity/add', data, callback, params) }
function getActivityOne(data, callback, params) { return $_request2('/systems/activity/one', data, callback, params) }
function editActivity(data, callback, params) { return $_request2('/systems/activity/edit', data, callback, params) }
function checkActivity(data, callback, params) { return $_request2('/systems/activity/check', data, callback, params) }
function pushOne(data, callback, params) { return $_request2('/systems/activity/pushOne', data, callback, params) }
function delActivity(data, callback, params) { return $_request2('/systems/activity/del', data, callback, params) }
function getJyjlList(data, callback, params) { return $_request2('/systems/activity/getJyjlList', data, callback, params) }
function getKtyjList(data, callback, params) { return $_request2('/systems/activity/getKtyjList', data, callback, params) }
function getLwfbList(data, callback, params) { return $_request2('/systems/activity/getLwfbList', data, callback, params) }
function getLzfbList(data, callback, params) { return $_request2('/systems/activity/getLzfbList', data, callback, params) }

//教师信息
function getTeacherList(data, callback, params) { return $_request2('/systems/teacher/getList', data, callback, params) }
function getTeacherBaseInfo(data, callback, params) { return $_request2('/systems/teacher/getBaseInfo', data, callback, params) }
function getPosition(data, callback, params) { return $_request2('/systems/teacher/getPosition', data, callback, params) }
function updateUserAssessment(data, callback, params) { return $_request2('/systems/teacher/updateUserAssessment', data, callback, params) }
function updateUsersAssessment(data, callback, params) { return $_request2('/systems/teacher/updateUsersAssessment', data, callback, params) }
function exportTeacher(data, callback, params) { return $_request2('/systems/teacher/export', data, callback, params) }


//获奖情况
function getAwardsList(data, callback, params) { return $_request2('/awards/wards/getAwardsList', data, callback, params) }
function getParticipantsData(data, callback, params) { return $_request2('/awards/wards/getParticipantsData', data, callback, params) }
function addAwards(data, callback, params) { return $_request2('/awards/wards/addAwards', data, callback, params) }
function getAwardsFirst(data, callback, params) { return $_request2('/awards/wards/getAwardsFirst', data, callback, params) }
function checkAwards(data, callback, params) { return $_request2('/awards/wards/checkAwards', data, callback, params) }
function delAwards(data, callback, params) { return $_request2('/awards/wards/delAwards', data, callback, params) }
function dealAwardsPush(data, callback, params) { return $_request2('/awards/wards/push', data, callback, params) }
function dealAwardsPush(data, callback, params) { return $_request2('/awards/wards/push', data, callback, params) }
function dealPush(data, callback, params) { return $_request2('/systems/activity/push', data, callback, params) }
function dealActivityPush(data, callback, params) { return $_request2('/teaching/activity/push', data, callback, params) }
function exportAwards(data, callback, params) { return $_request2('/awards/wards/exportAwards', data, callback, params) }
function exportHonor(data, callback, params) { return $_request2('/honor/honor/exportHonor', data, callback, params) }
function addHonor(data, callback, params) { return $_request2('/honor/honor/addHonor', data, callback, params) }
//带教情况
function addWork(data, callback, params) { return $_request2('/work/work/addWork', data, callback, params) }
function getWorkList(data, callback, params) { return $_request2('/work/work/getWorkList', data, callback, params) }
function getDjqkList(data, callback, params) { return $_request2('/work/work/getDjqkList', data, callback, params) }
function checkWork(data, callback, params) { return $_request2('/work/work/checkWork', data, callback, params) }
function delWork(data, callback, params) { return $_request2('/work/work/delWork', data, callback, params) }
function exportWork(data, callback, params) { return $_request2('/work/work/exportWork', data, callback, params) }

//校内工作
function addInWork(data, callback, params) { return $_request2('/work/inwork/addInWork', data, callback, params) }
function getInWorkList(data, callback, params) { return $_request2('/work/inwork/getInWorkList', data, callback, params) }
function checkInWork(data, callback, params) { return $_request2('/work/inwork/checkInWork', data, callback, params) }
function delInWork(data, callback, params) { return $_request2('/work/inwork/delInWork', data, callback, params) }
function exportInWork(data, callback, params) { return $_request2('/work/inwork/exportInWork', data, callback, params) }

//校外工作
function addOutWork(data, callback, params) { return $_request2('/work/outwork/addOutWork', data, callback, params) }
function getOutWorkList(data, callback, params) { return $_request2('/work/outwork/getOutWorkList', data, callback, params) }
function checkOutWork(data, callback, params) { return $_request2('/work/outwork/checkOutWork', data, callback, params) }
function delOutWork(data, callback, params) { return $_request2('/work/outwork/delOutWork', data, callback, params) }
function exportOutWork(data, callback, params) { return $_request2('/work/outwork/exportOutWork', data, callback, params) }

//岗位竞聘
function addJob(data, callback, params) { return $_request2('/rating/job/addJob', data, callback, params) }
function getJobList(data, callback, params) { return $_request2('/rating/job/getJobList', data, callback, params) }
function getJobFirst(data, callback, params) { return $_request2('/rating/job/getJobFirst', data, callback, params) }
function delJob(data, callback, params) { return $_request2('/rating/job/delJob', data, callback, params) }
function getJobScale(data, callback, params) { return $_request2('/rating/job/getJobScale', data, callback, params) }
function getJobScaleList(data, callback, params) { return $_request2('/rating/job/getJobScaleList', data, callback, params) }
function getJobApplyFirst(data, callback, params) { return $_request2('/rating/job/getJobApplyFirst', data, callback, params) }
function addApply(data, callback, params) { return $_request2('/rating/job/addApply', data, callback, params) }
function addFzxxm(data, callback, params) { return $_request2('/rating/job/addFzxxm', data, callback, params) }
function delFzxxm(data, callback, params) { return $_request2('/rating/job/delFzxxm', data, callback, params) }
function getApplyList(data, callback, params) { return $_request2('/rating/job/getApplyList', data, callback, params) }
function addJobApplyCheck(data, callback, params) { return $_request2('/rating/job/addJobApplyCheck', data, callback, params) }
function getJobApplyCheckFirst(data, callback, params) { return $_request2('/rating/job/getJobApplyCheckFirst', data, callback, params) }
function getJobScaleCheckList(data, callback, params) { return $_request2('/rating/job/getJobScaleCheckList', data, callback, params) }
function getFinalJobApplyList(data, callback, params) { return $_request2('/rating/job/getFinalJobApplyList', data, callback, params) }
function getFinatJobScaleList(data, callback, params) { return $_request2('/rating/job/getFinatJobScaleList', data, callback, params) }
function getJobApplyUserCheck(data, callback, params) { return $_request2('/rating/job/getJobApplyUserCheck', data, callback, params) }
function getUserCheckScores(data, callback, params) { return $_request2('/rating/job/getUserCheckScores', data, callback, params) }
function delJobApply(data, callback, params) { return $_request2('/rating/job/delJobApply', data, callback, params) }
function exportJobApply(data, callback, params) { return $_request2('/rating/job/exportJobApply', data, callback, params) }
function getJobCompetitionInfo(data, callback, params) { return $_request2('/rating/job/getJobCompetitionInfo', data, callback, params) }
function exportJob(data, callback, params) { return $_request2('/rating/job/exportJob', data, callback, params) }

//学年考核
function addCheck(data, callback, params) { return $_request2('/rating/check/addCheck', data, callback, params) }
function getCheckScale(data, callback, params) { return $_request2('/rating/check/getCheckScale', data, callback, params) }
function getCheckList(data, callback, params) { return $_request2('/rating/check/getCheckList', data, callback, params) }
function getCheckFirst(data, callback, params) { return $_request2('/rating/check/getCheckFirst', data, callback, params) }
function getCheckTeachersList(data, callback, params) { return $_request2('/rating/check/getCheckTeachersList', data, callback, params) }
function getTeacherBaseInfo2(data, callback, params) { return $_request2('/rating/check/getTeacherBaseInfo', data, callback, params) }
function getCheckScaleInfo(data, callback, params) { return $_request2('/rating/check/getCheckScaleInfo', data, callback, params) }
function checkScores(data, callback, params) { return $_request2('/rating/check/checkScores', data, callback, params) }
function getFinalScores(data, callback, params) { return $_request2('/rating/check/getFinalScores', data, callback, params) }
function setCheckSort(data, callback, params) { return $_request2('/rating/check/setCheckSort', data, callback, params) }
function getCheckScores(data, callback, params) { return $_request2('/rating/check/getCheckScores', data, callback, params) }
function delCheck(data, callback, params) { return $_request2('/rating/check/delCheck', data, callback, params) }
function checkTeacherExport(data, callback, params) { return $_request2('/rating/check/checkTeacherExport', data, callback, params) }
function checkExport(data, callback, params) { return $_request2('/rating/check/checkExport', data, callback, params) }
function finalExport(data, callback, params) { return $_request2('/rating/check/finalExport', data, callback, params) }
function copyCheck(data, callback, params) { return $_request2('/rating/check/copyCheck', data, callback, params) }
function checkMemberDel(data, callback, params) { return $_request2('/rating/check/checkMemberDel', data, callback, params) }
function getcheckMember(data, callback, params) { return $_request2('/rating/check/getcheckMember', data, callback, params) }
function addCheckMember(data, callback, params) { return $_request2('/rating/check/addCheckMember', data, callback, params) }









